package moe.bogos.douro.api.common.event;

import moe.bogos.douro.api.common.soul.skill.Skill;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraftforge.event.entity.player.PlayerEvent;
import net.minecraftforge.eventbus.api.Cancelable;

public class PlayerUseSkillEvnent extends PlayerEvent
{
    public Skill skill;
    
    public PlayerUseSkillEvnent(PlayerEntity player, Skill skill)
    {
        super(player);
        this.skill = skill;
    }
    
    @Cancelable
    public static class Pre extends PlayerUseSkillEvnent
    {
        public Pre(PlayerEntity player, Skill skill)
        {
            super(player, skill);
        }
    }
    
    public static class Post extends PlayerUseSkillEvnent
    {
        public Post(PlayerEntity player, Skill skill)
        {
            super(player, skill);
        }
    }
}
